package cn.net.msg.cxf.webservice;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import cn.net.msg.model.TbMood;

@WebService
@SOAPBinding(style = Style.RPC)
public interface IMoodWebService {

    public int addMood(@WebParam(name = "moodJson") String moodJson);

    public List<TbMood> getMoodForList(@WebParam(name = "maxresult")int maxresult,
            @WebParam(name = "currentpage")int currentpage);

    public int addMoodPraise(@WebParam(name = "moodJson") String moodJson);

    public int addMoodBelittle(@WebParam(name = "moodJson") String moodJson);

    public List<TbMood> getUserMoodForList(@WebParam(name = "userid") long userid,@WebParam(name = "maxresult")int maxresult,
            @WebParam(name = "currentpage")int currentpage);
}
